package com.springbootdemo.shixundemo.mapper;

import com.springbootdemo.shixundemo.Entity.Posts;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 86183
* @description 针对表【posts】的数据库操作Mapper
* @createDate 2024-07-12 17:18:00
* @Entity com.springbootdemo.shixundemo.Entity.Posts
*/
@Mapper
public interface PostsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Posts record);

    int insertSelective(Posts record);

    Posts selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Posts record);

    int updateByPrimaryKey(Posts record);

}
